[INFO] cloning repository https://github.com/joelevin/PistonHelloWorld [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelevin/PistonHelloWorld" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelevin%2FPistonHelloWorld", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelevin%2FPistonHelloWorld'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76ec40904c36da9a6c7a6e70ae5dc3983835b380 [INFO] checking joelevin/PistonHelloWorld against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelevin%2FPistonHelloWorld" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelevin/PistonHelloWorld 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/joelevin/PistonHelloWorld [INFO] finished tweaking git repo https://github.com/joelevin/PistonHelloWorld [INFO] tweaked toml for git repo https://github.com/joelevin/PistonHelloWorld written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/joelevin/PistonHelloWorld 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] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-7/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-7/source/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] b78af9bc5e6cbe178cc5da5f73241c2ef49c419a0a112856ab82d35c2f81a2ec [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" "b78af9bc5e6cbe178cc5da5f73241c2ef49c419a0a112856ab82d35c2f81a2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b78af9bc5e6cbe178cc5da5f73241c2ef49c419a0a112856ab82d35c2f81a2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78af9bc5e6cbe178cc5da5f73241c2ef49c419a0a112856ab82d35c2f81a2ec", kill_on_drop: false }` [INFO] [stdout] b78af9bc5e6cbe178cc5da5f73241c2ef49c419a0a112856ab82d35c2f81a2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 6ff946ddd6482ae5996ebcfa61ee4ad754a84d5a15d596a710462ecc6eb674be [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" "6ff946ddd6482ae5996ebcfa61ee4ad754a84d5a15d596a710462ecc6eb674be", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling serde v0.7.13 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking piston-shaders_graphics2d v0.1.0 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Checking gif v0.9.0 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Checking deque v0.3.1 [INFO] [stderr] Compiling libz-sys v1.0.4 [INFO] [stderr] Checking piston2d-graphics v0.16.0 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking shared_library v0.1.4 [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 rayon v0.4.0 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking osmesa-sys v0.1.0 [INFO] [stderr] Checking num v0.1.32 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking enum_primitive v0.1.0 [INFO] [stderr] Checking freetype-rs v0.10.0 [INFO] [stderr] Checking jpeg-decoder v0.1.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling gl v0.6.1 [INFO] [stderr] Compiling glutin v0.6.1 [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] Checking flate2 v0.2.14 [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" "6ff946ddd6482ae5996ebcfa61ee4ad754a84d5a15d596a710462ecc6eb674be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff946ddd6482ae5996ebcfa61ee4ad754a84d5a15d596a710462ecc6eb674be", kill_on_drop: false }` [INFO] [stdout] 6ff946ddd6482ae5996ebcfa61ee4ad754a84d5a15d596a710462ecc6eb674be