[INFO] cloning repository https://github.com/PatriceJiang/rust-clang-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PatriceJiang/rust-clang-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatriceJiang%2Frust-clang-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatriceJiang%2Frust-clang-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b40262d63e5369840485b98b751293a0f6df70ce [INFO] checking PatriceJiang/rust-clang-demo against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatriceJiang%2Frust-clang-demo" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PatriceJiang/rust-clang-demo on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/PatriceJiang/rust-clang-demo [INFO] finished tweaking git repo https://github.com/PatriceJiang/rust-clang-demo [INFO] tweaked toml for git repo https://github.com/PatriceJiang/rust-clang-demo written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/PatriceJiang/rust-clang-demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc4c0ac766ddba0bdbb3794099ab567aeb56282dc69c94924665a47ac02f25e0 [INFO] running `"docker" "start" "-a" "cc4c0ac766ddba0bdbb3794099ab567aeb56282dc69c94924665a47ac02f25e0"` [INFO] [stderr] Compiling clang-sys v0.28.0 [INFO] [stderr] Checking clang v0.22.0 [INFO] [stderr] Checking rust-clang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `TranslationUnit` [INFO] [stderr] --> src/main.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use clang::{Clang, Index, Parser, TranslationUnit, EntityKind, Entity, Accessibility}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TranslationUnit` [INFO] [stderr] --> src/main.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use clang::{Clang, Index, Parser, TranslationUnit, EntityKind, Entity, Accessibility}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.58s [INFO] running `"docker" "inspect" "cc4c0ac766ddba0bdbb3794099ab567aeb56282dc69c94924665a47ac02f25e0"` [INFO] running `"docker" "rm" "-f" "cc4c0ac766ddba0bdbb3794099ab567aeb56282dc69c94924665a47ac02f25e0"` [INFO] [stdout] cc4c0ac766ddba0bdbb3794099ab567aeb56282dc69c94924665a47ac02f25e0