[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#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Frust-scripts" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/rust-scripts on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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-10/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da788b3db8063638f1f9652bbeae6f57e405cede5b25f6967b6380c8ec5e623 [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" "7da788b3db8063638f1f9652bbeae6f57e405cede5b25f6967b6380c8ec5e623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da788b3db8063638f1f9652bbeae6f57e405cede5b25f6967b6380c8ec5e623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da788b3db8063638f1f9652bbeae6f57e405cede5b25f6967b6380c8ec5e623", kill_on_drop: false }` [INFO] [stdout] 7da788b3db8063638f1f9652bbeae6f57e405cede5b25f6967b6380c8ec5e623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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] 3c2d213b420ca811a4e4f82c18168d25c52fd6eefb048cae9f27ad4c116ff1d6 [INFO] running `Command { std: "docker" "start" "-a" "3c2d213b420ca811a4e4f82c18168d25c52fd6eefb048cae9f27ad4c116ff1d6", 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] Compiling winapi v0.2.6 [INFO] [stderr] Compiling gcc v0.3.27 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling libc v0.2.10 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling semver v0.1.20 [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 traitobject v0.0.1 [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 utf8-ranges v0.1.3 [INFO] [stderr] Checking bufstream v0.1.1 [INFO] [stderr] Checking regex-syntax v0.3.1 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking num_cpus v0.2.11 [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] Checking memchr v0.1.11 [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] Checking inotify v0.2.3 [INFO] [stderr] Checking encoding-index-simpchinese 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-singlebyte v1.20141219.5 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking xml-rs v0.3.0 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking aho-corasick v0.5.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Compiling openssl-sys v0.7.10 [INFO] [stderr] Checking uuid v0.2.0 [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 encoding v0.2.32 [INFO] [stderr] Compiling unicase v1.4.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] [stderr] Checking thread_local v0.2.3 [INFO] [stderr] Checking regex v0.1.66 [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] [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3c2d213b420ca811a4e4f82c18168d25c52fd6eefb048cae9f27ad4c116ff1d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2d213b420ca811a4e4f82c18168d25c52fd6eefb048cae9f27ad4c116ff1d6", kill_on_drop: false }` [INFO] [stdout] 3c2d213b420ca811a4e4f82c18168d25c52fd6eefb048cae9f27ad4c116ff1d6