[INFO] cloning repository https://github.com/kstep/rust-scripts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstep/rust-scripts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Frust-scripts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Frust-scripts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfdc16249dbe628666a8d96d26660737a61cb60c [INFO] checking kstep/rust-scripts against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Frust-scripts" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/rust-scripts 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/kstep/rust-scripts [INFO] finished tweaking git repo https://github.com/kstep/rust-scripts [INFO] tweaked toml for git repo https://github.com/kstep/rust-scripts written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kstep/rust-scripts 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: TOML file found which contains invalid syntax and will soon not parse [INFO] [stderr] at `/workspace/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`. [INFO] [stderr] [INFO] [stderr] The TOML spec requires newlines after table definitions (e.g., `[a] b = 1` is [INFO] [stderr] invalid), but this file has a table header which does not have a newline after [INFO] [stderr] it. A newline needs to be added and this warning will soon become a hard error [INFO] [stderr] in the future. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] 79743920d9c68d0c66ed88c56d06e33153c16658eaaedfed5cd3acfc3757cea9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79743920d9c68d0c66ed88c56d06e33153c16658eaaedfed5cd3acfc3757cea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79743920d9c68d0c66ed88c56d06e33153c16658eaaedfed5cd3acfc3757cea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79743920d9c68d0c66ed88c56d06e33153c16658eaaedfed5cd3acfc3757cea9", kill_on_drop: false }` [INFO] [stdout] 79743920d9c68d0c66ed88c56d06e33153c16658eaaedfed5cd3acfc3757cea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] a8f63f5989406b7db819e5d699cfadd0b1098ed4cdcedc9477c9237304a682e0 [INFO] running `Command { std: "docker" "start" "-a" "a8f63f5989406b7db819e5d699cfadd0b1098ed4cdcedc9477c9237304a682e0", kill_on_drop: false }` [INFO] [stderr] warning: TOML file found which contains invalid syntax and will soon not parse [INFO] [stderr] at `/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`. [INFO] [stderr] [INFO] [stderr] The TOML spec requires newlines after table definitions (e.g., `[a] b = 1` is [INFO] [stderr] invalid), but this file has a table header which does not have a newline after [INFO] [stderr] it. A newline needs to be added and this warning will soon become a hard error [INFO] [stderr] in the future. [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.10 [INFO] [stderr] Compiling winapi v0.2.6 [INFO] [stderr] Compiling gcc v0.3.27 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Checking lazy_static v0.2.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking serde v0.7.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking regex-syntax v0.3.1 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking xdg-basedir v1.0.0 [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] [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 openssl-sys v0.7.10 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.0 [INFO] [stderr] Checking xml-rs v0.3.0 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking num_cpus v0.2.11 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking inotify v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking aho-corasick v0.5.1 [INFO] [stderr] Checking encoding v0.2.32 [INFO] [stderr] Compiling openssl-sys-extras v0.7.10 [INFO] [stderr] Compiling openssl v0.7.10 [INFO] [stderr] Compiling rust-crypto v0.2.35 [INFO] [stderr] Checking uuid v0.2.0 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking walkdir v0.1.5 [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "a8f63f5989406b7db819e5d699cfadd0b1098ed4cdcedc9477c9237304a682e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f63f5989406b7db819e5d699cfadd0b1098ed4cdcedc9477c9237304a682e0", kill_on_drop: false }` [INFO] [stdout] a8f63f5989406b7db819e5d699cfadd0b1098ed4cdcedc9477c9237304a682e0