[INFO] updating cached repository https://github.com/freesig/vulkan_api_checker [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ba4753c1837131bc8c538844ad50a871226f8c29 [INFO] checking freesig/vulkan_api_checker against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreesig%2Fvulkan_api_checker" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/freesig/vulkan_api_checker on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/freesig/vulkan_api_checker [INFO] finished tweaking git repo https://github.com/freesig/vulkan_api_checker [INFO] tweaked toml for git repo https://github.com/freesig/vulkan_api_checker written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/freesig/vulkan_api_checker already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d3a1a3addc8210a6e2a4b3157cde840f930c0775605a0e7baedb3d667ee25a13 [INFO] running `"docker" "start" "-a" "d3a1a3addc8210a6e2a4b3157cde840f930c0775605a0e7baedb3d667ee25a13"` [INFO] [stderr] Compiling regex v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.1 [INFO] [stderr] Checking vulkan_api_check v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: this file contains an un-closed delimiter [INFO] [stderr] --> src/main.rs:131:3 [INFO] [stderr] | [INFO] [stderr] 60 | fn search(input: &mut Stdin, target: T) { [INFO] [stderr] | - un-closed delimiter [INFO] [stderr] 61 | loop { [INFO] [stderr] | - this delimiter might not be properly closed... [INFO] [stderr] ... [INFO] [stderr] 66 | } [INFO] [stderr] | - ...as it matches this but it has different indentation [INFO] [stderr] ... [INFO] [stderr] 131 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: this file contains an un-closed delimiter [INFO] [stderr] --> src/main.rs:131:3 [INFO] [stderr] | [INFO] [stderr] 60 | fn search(input: &mut Stdin, target: T) { [INFO] [stderr] | - un-closed delimiter [INFO] [stderr] 61 | loop { [INFO] [stderr] | - this delimiter might not be properly closed... [INFO] [stderr] ... [INFO] [stderr] 66 | } [INFO] [stderr] | - ...as it matches this but it has different indentation [INFO] [stderr] ... [INFO] [stderr] 131 | } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Target` in this scope [INFO] [stderr] --> src/main.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | fn search(input: &mut Stdin, target: T) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `images` in this scope [INFO] [stderr] --> src/main.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | ... images.insert(ptr.as_str().to_owned(), t.new_layout); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `vulkan_api_check`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0405]: cannot find trait `Target` in this scope [INFO] [stderr] --> src/main.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | fn search(input: &mut Stdin, target: T) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `images` in this scope [INFO] [stderr] --> src/main.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | ... images.insert(ptr.as_str().to_owned(), t.new_layout); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `vulkan_api_check` [INFO] [stderr] | [INFO] [stderr] = note: the main function must be defined at the crate level but you have one or more functions named 'main' that are not defined at the crate level. Either move the definition or attach the `#[main]` attribute to override this behavior. [INFO] [stderr] note: here is a function named 'main' [INFO] [stderr] --> src/main.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68| / fn main() { [INFO] [stderr] 69| | let rules = load_rules(); [INFO] [stderr] 70| | let vk_function_re = Regex::new(r"^vk(?P[^\(\s]+)\(").expect("failed to create function regex"); [INFO] [stderr] 71| | let old_layout_re = Regex::new(r"oldLayout:[^=]+=\s(?P\w+)").expect("failed to create old layout regex"); [INFO] [stderr] ... | [INFO] [stderr] 13| | } [INFO] [stderr] 13| | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0425, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `vulkan_api_check`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d3a1a3addc8210a6e2a4b3157cde840f930c0775605a0e7baedb3d667ee25a13"` [INFO] running `"docker" "rm" "-f" "d3a1a3addc8210a6e2a4b3157cde840f930c0775605a0e7baedb3d667ee25a13"` [INFO] [stdout] d3a1a3addc8210a6e2a4b3157cde840f930c0775605a0e7baedb3d667ee25a13