[INFO] cloning repository https://github.com/claytonspinner/rust-petstore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claytonspinner/rust-petstore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaytonspinner%2Frust-petstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaytonspinner%2Frust-petstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52a74c14c97e5abfeaea5c14465ae6b0683ea23c [INFO] checking claytonspinner/rust-petstore against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaytonspinner%2Frust-petstore" "/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/claytonspinner/rust-petstore on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/claytonspinner/rust-petstore [INFO] finished tweaking git repo https://github.com/claytonspinner/rust-petstore [INFO] tweaked toml for git repo https://github.com/claytonspinner/rust-petstore written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/claytonspinner/rust-petstore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-4/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-4/source/src/main.rs` was erroneously implicitly accepted for binary `main`, [INFO] [stderr] please set bin.path in Cargo.toml [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e43cd4a8fc7b0f2136462008e15468f4a8a406120bd423760e24275f03aaee5 [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" "4e43cd4a8fc7b0f2136462008e15468f4a8a406120bd423760e24275f03aaee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e43cd4a8fc7b0f2136462008e15468f4a8a406120bd423760e24275f03aaee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e43cd4a8fc7b0f2136462008e15468f4a8a406120bd423760e24275f03aaee5", kill_on_drop: false }` [INFO] [stdout] 4e43cd4a8fc7b0f2136462008e15468f4a8a406120bd423760e24275f03aaee5 [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fae55ba3d12e222b799985a940bcffcc7a24c530237cc1080f296bc5ee23274 [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" "3fae55ba3d12e222b799985a940bcffcc7a24c530237cc1080f296bc5ee23274", 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 `main`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking matches v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.2 [INFO] [stderr] Checking traitobject v0.0.3 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stderr] Checking httparse v1.1.2 [INFO] [stderr] Checking slog v1.3.2 [INFO] [stderr] Checking serde v0.8.19 [INFO] [stderr] Checking route-recognizer v0.1.11 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking isatty v0.1.3 [INFO] [stderr] Compiling unicase v1.4.0 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking unicode-bidi v0.2.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.2 [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[E0277]: `core::fmt::Opaque` cannot be shared between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/slog-1.3.2/src/ser.rs:228:6 [INFO] [stdout] | [INFO] [stdout] 120 | pub trait SyncSerialize: Send + Sync + 'static + Serialize {} [INFO] [stdout] | ---- required by this bound in `SyncSerialize` [INFO] [stdout] ... [INFO] [stdout] 228 | impl SyncSerialize for fmt::Arguments<'static> {} [INFO] [stdout] | ^^^^^^^^^^^^^ `core::fmt::Opaque` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `Arguments<'static>`, the trait `Sync` is not implemented for `core::fmt::Opaque` [INFO] [stdout] = note: required because it appears within the type `&'static core::fmt::Opaque` [INFO] [stdout] = note: required because it appears within the type `ArgumentV1<'static>` [INFO] [stdout] = note: required because it appears within the type `[ArgumentV1<'static>]` [INFO] [stdout] = note: required because it appears within the type `&'static [ArgumentV1<'static>]` [INFO] [stdout] = note: required because it appears within the type `Arguments<'static>` [INFO] [stdout] [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `slog` [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] [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" "3fae55ba3d12e222b799985a940bcffcc7a24c530237cc1080f296bc5ee23274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fae55ba3d12e222b799985a940bcffcc7a24c530237cc1080f296bc5ee23274", kill_on_drop: false }` [INFO] [stdout] 3fae55ba3d12e222b799985a940bcffcc7a24c530237cc1080f296bc5ee23274