[INFO] cloning repository https://github.com/oussama/mongodb-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oussama/mongodb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Fmongodb-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Fmongodb-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 080ae101314a8a9183f5e80117ebee8dcb67d9d2 [INFO] checking oussama/mongodb-rs against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Fmongodb-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oussama/mongodb-rs 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/oussama/mongodb-rs [INFO] finished tweaking git repo https://github.com/oussama/mongodb-rs [INFO] tweaked toml for git repo https://github.com/oussama/mongodb-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/oussama/mongodb-rs 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-5/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-5/source/src/main.rs` was erroneously implicitly accepted for binary `mongodb_test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] a3489e9fbcec623e477c248bb897a39b107b445a20e17c72d4876fc252fd959c [INFO] running `Command { std: "docker" "start" "-a" "a3489e9fbcec623e477c248bb897a39b107b445a20e17c72d4876fc252fd959c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3489e9fbcec623e477c248bb897a39b107b445a20e17c72d4876fc252fd959c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3489e9fbcec623e477c248bb897a39b107b445a20e17c72d4876fc252fd959c", kill_on_drop: false }` [INFO] [stdout] a3489e9fbcec623e477c248bb897a39b107b445a20e17c72d4876fc252fd959c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] b5af59ad11215a11ffd0119150d0ac6fda0a554dc504faa338ccd2f98bda74f5 [INFO] running `Command { std: "docker" "start" "-a" "b5af59ad11215a11ffd0119150d0ac6fda0a554dc504faa338ccd2f98bda74f5", 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 `mongodb_test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.5 [INFO] [stderr] Checking rustc-serialize v0.3.14 [INFO] [stderr] Checking byteorder v0.3.9 [INFO] [stderr] Checking rand v0.3.8 [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.14/src/serialize.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.14/src/serialize.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 200 | fn decode(d: &mut D) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 200 | fn decode(d: &mut D) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.8/src/distributions/range.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | - required by this bound in `range::Range` [INFO] [stdout] ... [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.8/src/distributions/range.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | - required by this bound in `range::Range` [INFO] [stdout] ... [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b5af59ad11215a11ffd0119150d0ac6fda0a554dc504faa338ccd2f98bda74f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5af59ad11215a11ffd0119150d0ac6fda0a554dc504faa338ccd2f98bda74f5", kill_on_drop: false }` [INFO] [stdout] b5af59ad11215a11ffd0119150d0ac6fda0a554dc504faa338ccd2f98bda74f5