[INFO] fetching crate include_dir 0.7.4... [INFO] checking include_dir-0.7.4 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate include_dir 0.7.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate include_dir 0.7.4 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate include_dir 0.7.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate include_dir 0.7.4 [INFO] tweaked toml for crates.io crate include_dir 0.7.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59a4973925dd2ba8ca28eecb549ddf89e9888afff8bc4c71e8a0c375af6598ea [INFO] running `Command { std: "docker" "start" "-a" "59a4973925dd2ba8ca28eecb549ddf89e9888afff8bc4c71e8a0c375af6598ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59a4973925dd2ba8ca28eecb549ddf89e9888afff8bc4c71e8a0c375af6598ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a4973925dd2ba8ca28eecb549ddf89e9888afff8bc4c71e8a0c375af6598ea", kill_on_drop: false }` [INFO] [stdout] 59a4973925dd2ba8ca28eecb549ddf89e9888afff8bc4c71e8a0c375af6598ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b54c7c9743da2e6a8fcff25ed10d0afeb685744a1f014b31788cd8982e891dc5 [INFO] running `Command { std: "docker" "start" "-a" "b54c7c9743da2e6a8fcff25ed10d0afeb685744a1f014b31788cd8982e891dc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking include_dir v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stdout] error: couldn't read `tests/../../Cargo.toml`: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration_test.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let msrv = (include_str!("../../Cargo.toml")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 63 - let msrv = (include_str!("../../Cargo.toml")) [INFO] [stdout] 63 + let msrv = (include_str!("../Cargo.toml")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../.rust-toolchain.toml`: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration_test.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let toolchain_version = (include_str!("../../.rust-toolchain.toml")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../.github/workflows/main.yml`: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration_test.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let workflow_msrv = (include_str!("../../.github/workflows/main.yml")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | .filter_map(|line| line.split_once(" = ")) [INFO] [stdout] | ^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | .filter_map(|line: /* Type */| line.split_once(" = ")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/integration_test.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | .find_map(|(key, value)| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | if key.trim() == "rust-version" { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 66 | .find_map(|(key, value): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> tests/integration_test.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | .find_map(|(key, value)| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | if key.trim() == "rust-version" { [INFO] [stdout] 68 | Some(value.trim().trim_matches('"')) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 66 | .find_map(|(key, value): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | .filter_map(|line| line.split_once(" = ")) [INFO] [stdout] | ^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | .filter_map(|line: /* Type */| line.split_once(" = ")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/integration_test.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | .find_map(|(key, value)| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | if key.trim() == "channel" { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 78 | .find_map(|(key, value): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> tests/integration_test.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | .find_map(|(key, value)| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | if key.trim() == "channel" { [INFO] [stdout] 80 | Some(value.trim().trim_matches('"')) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 78 | .find_map(|(key, value): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | .skip_while(|line| line.trim() != "# MSRV") [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | .skip_while(|line: /* Type */| line.trim() != "# MSRV") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_test.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|line| line.trim().trim_start_matches('-').trim().trim_matches('"')) [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | .map(|line: /* Type */| line.trim().trim_start_matches('-').trim().trim_matches('"')) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `include_dir` (test "integration_test") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b54c7c9743da2e6a8fcff25ed10d0afeb685744a1f014b31788cd8982e891dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54c7c9743da2e6a8fcff25ed10d0afeb685744a1f014b31788cd8982e891dc5", kill_on_drop: false }` [INFO] [stdout] b54c7c9743da2e6a8fcff25ed10d0afeb685744a1f014b31788cd8982e891dc5