[INFO] fetching crate include_dir 0.7.4... [INFO] testing include_dir-0.7.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate include_dir 0.7.4 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate include_dir 0.7.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded include_dir_macros v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bb6bdb707b196d23edabf0115ae45e175409ef76065b4eae36bdac686ab1535 [INFO] running `Command { std: "docker" "start" "-a" "7bb6bdb707b196d23edabf0115ae45e175409ef76065b4eae36bdac686ab1535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bb6bdb707b196d23edabf0115ae45e175409ef76065b4eae36bdac686ab1535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb6bdb707b196d23edabf0115ae45e175409ef76065b4eae36bdac686ab1535", kill_on_drop: false }` [INFO] [stdout] 7bb6bdb707b196d23edabf0115ae45e175409ef76065b4eae36bdac686ab1535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92ff240a5314a57c49d0754297f45cb49d7c958a9aefd689192b27f575c7fac8 [INFO] running `Command { std: "docker" "start" "-a" "92ff240a5314a57c49d0754297f45cb49d7c958a9aefd689192b27f575c7fac8", kill_on_drop: false }` [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling include_dir v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "92ff240a5314a57c49d0754297f45cb49d7c958a9aefd689192b27f575c7fac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ff240a5314a57c49d0754297f45cb49d7c958a9aefd689192b27f575c7fac8", kill_on_drop: false }` [INFO] [stdout] 92ff240a5314a57c49d0754297f45cb49d7c958a9aefd689192b27f575c7fac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f5c5f332ab0f47a3624f7cb448adbd6b7ccb7afba9efad879af327c803afe49 [INFO] running `Command { std: "docker" "start" "-a" "8f5c5f332ab0f47a3624f7cb448adbd6b7ccb7afba9efad879af327c803afe49", kill_on_drop: false }` [INFO] [stderr] Compiling 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" "8f5c5f332ab0f47a3624f7cb448adbd6b7ccb7afba9efad879af327c803afe49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5c5f332ab0f47a3624f7cb448adbd6b7ccb7afba9efad879af327c803afe49", kill_on_drop: false }` [INFO] [stdout] 8f5c5f332ab0f47a3624f7cb448adbd6b7ccb7afba9efad879af327c803afe49