[INFO] fetching crate include_dir 0.7.4... [INFO] testing include_dir-0.7.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate include_dir 0.7.4 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate include_dir 0.7.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1d9edf3e57d5a47537669dccf016e962c1a15dcf11cdb86bef978e4e8886aaa [INFO] running `Command { std: "docker" "start" "-a" "d1d9edf3e57d5a47537669dccf016e962c1a15dcf11cdb86bef978e4e8886aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1d9edf3e57d5a47537669dccf016e962c1a15dcf11cdb86bef978e4e8886aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d9edf3e57d5a47537669dccf016e962c1a15dcf11cdb86bef978e4e8886aaa", kill_on_drop: false }` [INFO] [stdout] d1d9edf3e57d5a47537669dccf016e962c1a15dcf11cdb86bef978e4e8886aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f8f573b639776e5944711f1ff1e1d01f84784697a9ea119f1f5c23fe5038f21 [INFO] running `Command { std: "docker" "start" "-a" "9f8f573b639776e5944711f1ff1e1d01f84784697a9ea119f1f5c23fe5038f21", 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.58s [INFO] running `Command { std: "docker" "inspect" "9f8f573b639776e5944711f1ff1e1d01f84784697a9ea119f1f5c23fe5038f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8f573b639776e5944711f1ff1e1d01f84784697a9ea119f1f5c23fe5038f21", kill_on_drop: false }` [INFO] [stdout] 9f8f573b639776e5944711f1ff1e1d01f84784697a9ea119f1f5c23fe5038f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 095bddc9fbfa58bee576213b4002b92e68f6eb44e8239ae5e45ed29c06cb2edd [INFO] running `Command { std: "docker" "start" "-a" "095bddc9fbfa58bee576213b4002b92e68f6eb44e8239ae5e45ed29c06cb2edd", 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" "095bddc9fbfa58bee576213b4002b92e68f6eb44e8239ae5e45ed29c06cb2edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095bddc9fbfa58bee576213b4002b92e68f6eb44e8239ae5e45ed29c06cb2edd", kill_on_drop: false }` [INFO] [stdout] 095bddc9fbfa58bee576213b4002b92e68f6eb44e8239ae5e45ed29c06cb2edd