[INFO] fetching crate include_dir 0.7.4... [INFO] checking include_dir-0.7.4 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate include_dir 0.7.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate include_dir 0.7.4 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eabb67df02628fd73c653c9c727d1bda823a4af0dd5a98efcb91fbd20b015438 [INFO] running `Command { std: "docker" "start" "-a" "eabb67df02628fd73c653c9c727d1bda823a4af0dd5a98efcb91fbd20b015438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eabb67df02628fd73c653c9c727d1bda823a4af0dd5a98efcb91fbd20b015438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eabb67df02628fd73c653c9c727d1bda823a4af0dd5a98efcb91fbd20b015438", kill_on_drop: false }` [INFO] [stdout] eabb67df02628fd73c653c9c727d1bda823a4af0dd5a98efcb91fbd20b015438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e23942b795389aa06521ff109035894ba4ffe89c18250c36eb11fbd29c7e46 [INFO] running `Command { std: "docker" "start" "-a" "07e23942b795389aa06521ff109035894ba4ffe89c18250c36eb11fbd29c7e46", kill_on_drop: false }` [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking include_dir v0.7.4 (/opt/rustwide/workdir) [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" "07e23942b795389aa06521ff109035894ba4ffe89c18250c36eb11fbd29c7e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e23942b795389aa06521ff109035894ba4ffe89c18250c36eb11fbd29c7e46", kill_on_drop: false }` [INFO] [stdout] 07e23942b795389aa06521ff109035894ba4ffe89c18250c36eb11fbd29c7e46