[INFO] cloning repository https://github.com/mrmiywj/rust_incremental_compile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrmiywj/rust_incremental_compile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrmiywj%2Frust_incremental_compile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrmiywj%2Frust_incremental_compile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3d84a7d64608086290a764bb23b8856803c5ebb [INFO] checking mrmiywj/rust_incremental_compile against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrmiywj%2Frust_incremental_compile" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrmiywj/rust_incremental_compile on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrmiywj/rust_incremental_compile [INFO] finished tweaking git repo https://github.com/mrmiywj/rust_incremental_compile [INFO] tweaked toml for git repo https://github.com/mrmiywj/rust_incremental_compile written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/mrmiywj/rust_incremental_compile already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bdce3d27c8504cc6e73e9caa707c336cac1260a58a20b732718f3ba2fbbfa4fd [INFO] running `Command { std: "docker" "start" "-a" "bdce3d27c8504cc6e73e9caa707c336cac1260a58a20b732718f3ba2fbbfa4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdce3d27c8504cc6e73e9caa707c336cac1260a58a20b732718f3ba2fbbfa4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdce3d27c8504cc6e73e9caa707c336cac1260a58a20b732718f3ba2fbbfa4fd", kill_on_drop: false }` [INFO] [stdout] bdce3d27c8504cc6e73e9caa707c336cac1260a58a20b732718f3ba2fbbfa4fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cce157e5b043e5525f5d09ff431e32d8c5c297390bec5e87f14c4e48b3835511 [INFO] running `Command { std: "docker" "start" "-a" "cce157e5b043e5525f5d09ff431e32d8c5c297390bec5e87f14c4e48b3835511", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.11 [INFO] [stderr] Compiling gcc v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.6 [INFO] [stderr] Checking matches v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.2 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.1 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking strsim v0.3.0 [INFO] [stderr] Checking nom v1.2.2 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.2.3 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking filetime v0.1.10 [INFO] [stderr] Checking num_cpus v0.2.11 [INFO] [stderr] Compiling cmake v0.1.17 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.7.11 [INFO] [stderr] Checking tar v0.4.5 [INFO] [stderr] Compiling libz-sys v1.0.3 [INFO] [stderr] Compiling curl-sys v0.1.34 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling libssh2-sys v0.1.37 [INFO] [stderr] Compiling libgit2-sys v0.4.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking term v0.4.4 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking fs2 v0.2.4 [INFO] [stderr] Checking walkdir v0.1.5 [INFO] [stderr] Checking semver v0.2.3 [INFO] [stderr] Checking thread_local v0.2.5 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stderr] Checking regex v0.1.69 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cce157e5b043e5525f5d09ff431e32d8c5c297390bec5e87f14c4e48b3835511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce157e5b043e5525f5d09ff431e32d8c5c297390bec5e87f14c4e48b3835511", kill_on_drop: false }` [INFO] [stdout] cce157e5b043e5525f5d09ff431e32d8c5c297390bec5e87f14c4e48b3835511