[INFO] cloning repository https://github.com/Swiiz/asset_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Swiiz/asset_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fasset_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fasset_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f910c37b7ae07f02fcaedadfa98d3849903eb4f [INFO] checking Swiiz/asset_tree/4f910c37b7ae07f02fcaedadfa98d3849903eb4f against 4d7f6614d0baa7689bd05eba340114667db4d5b7 for pr-133502-28 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fasset_tree" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Swiiz/asset_tree [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Swiiz/asset_tree [INFO] tweaked toml for git repo https://github.com/Swiiz/asset_tree written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Swiiz/asset_tree on toolchain 4d7f6614d0baa7689bd05eba340114667db4d5b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d7f6614d0baa7689bd05eba340114667db4d5b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Swiiz/asset_tree 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" "+4d7f6614d0baa7689bd05eba340114667db4d5b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de [INFO] running `Command { std: "docker" "start" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de" "/opt/rustwide/cargo-home/bin/cargo" "+4d7f6614d0baa7689bd05eba340114667db4d5b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de" "/opt/rustwide/cargo-home/bin/cargo" "+4d7f6614d0baa7689bd05eba340114667db4d5b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking asset_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/loader.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | ... .collect::>()?, [INFO] [stdout] | ^^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/loader.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | ... children: self [INFO] [stdout] | _________________________________^ [INFO] [stdout] 101 | | ... .subdir(&name) [INFO] [stdout] 102 | | ... .iter_dir()? [INFO] [stdout] 103 | | ... .collect::>()?, [INFO] [stdout] | |______________________________________________________________^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Iterator, Error<_>>> == ()` [INFO] [stdout] --> src/loader.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | ... .iter_dir()? [INFO] [stdout] | ^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/asset_tree/8c446fd256d5473d/out/asset_tree-8c446fd256d5473d.long-type-7463919685199057942.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/loader.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|entry| { [INFO] [stdout] | ------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 87 | .filter_map(|e: Result<_, Self::Error>| { [INFO] [stdout] | --------------------------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 95 | .map(|path: PathBuf| { [INFO] [stdout] | --------------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 102 | .iter_dir()? [INFO] [stdout] | ^^^^^^^^ expected `Map<_, {closure@...}>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Map, {closure@...}>, {closure@...}>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/asset_tree/8c446fd256d5473d/out/asset_tree-8c446fd256d5473d.long-type-7374052595445656518.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/loader.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | ... .collect::>()?, [INFO] [stdout] | ^^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/loader.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | ... children: self [INFO] [stdout] | _________________________________^ [INFO] [stdout] 101 | | ... .subdir(&name) [INFO] [stdout] 102 | | ... .iter_dir()? [INFO] [stdout] 103 | | ... .collect::>()?, [INFO] [stdout] | |______________________________________________________________^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Iterator, Error<_>>> == ()` [INFO] [stdout] --> src/loader.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | ... .iter_dir()? [INFO] [stdout] | ^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/asset_tree/eb882e57f7f774a9/out/asset_tree-eb882e57f7f774a9.long-type-4713685027762059470.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/loader.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|entry| { [INFO] [stdout] | ------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 87 | .filter_map(|e: Result<_, Self::Error>| { [INFO] [stdout] | --------------------------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 95 | .map(|path: PathBuf| { [INFO] [stdout] | --------------- one of the expected closures [INFO] [stdout] ... [INFO] [stdout] 102 | .iter_dir()? [INFO] [stdout] | ^^^^^^^^ expected `Map<_, {closure@...}>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Map, {closure@...}>, {closure@...}>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/asset_tree/eb882e57f7f774a9/out/asset_tree-eb882e57f7f774a9.long-type-5919663676288821035.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asset_tree` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asset_tree` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de", kill_on_drop: false }` [INFO] [stdout] f4e8ec7d265d3109342da1426014d30915d966e4b98d9b006c644376dbe126de