[INFO] cloning repository https://github.com/illegalprime/rust-mongops [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/illegalprime/rust-mongops" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillegalprime%2Frust-mongops", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillegalprime%2Frust-mongops'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7da7388eefef68dbac335892b872f101c46828b4 [INFO] testing illegalprime/rust-mongops against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillegalprime%2Frust-mongops" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/illegalprime/rust-mongops on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/illegalprime/rust-mongops [INFO] finished tweaking git repo https://github.com/illegalprime/rust-mongops [INFO] tweaked toml for git repo https://github.com/illegalprime/rust-mongops written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/illegalprime/rust-mongops already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063d4348d14117fc78ab73aad2258bf24033b49f42d513e03c2d47ea737aa464 [INFO] running `Command { std: "docker" "start" "-a" "063d4348d14117fc78ab73aad2258bf24033b49f42d513e03c2d47ea737aa464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063d4348d14117fc78ab73aad2258bf24033b49f42d513e03c2d47ea737aa464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063d4348d14117fc78ab73aad2258bf24033b49f42d513e03c2d47ea737aa464", kill_on_drop: false }` [INFO] [stdout] 063d4348d14117fc78ab73aad2258bf24033b49f42d513e03c2d47ea737aa464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c7fe9012d7088a6db1ca39a48149399af16df83b47f1d14e03844908013fa58 [INFO] running `Command { std: "docker" "start" "-a" "5c7fe9012d7088a6db1ca39a48149399af16df83b47f1d14e03844908013fa58", kill_on_drop: false }` [INFO] [stderr] Compiling mongops v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn as_mut_object(&mut self) -> Option<&mut Object<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> Upsert<'a> for Object<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | fn object(&mut self, field: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn deep_object(&mut self, op: &'static str, array: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | root: &'a mut Object<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | root: &'a mut Object<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn push_all(self, values: &'a Array<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn push_all_at(self, values: &'a Array<'a>, position: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn pull_all(self, values: &'a Array<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn add_all_to_set(self, values: &'a Array<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 246 | fn push_pos_cow(self, values: Cow<'a, Array<'a>>, position: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required by a bound in `Cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | Array(Cow<'a, Array<'a>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] = note: required because it appears within the type `Cow<'a, Vec>>` [INFO] [stdout] = note: no field of an enum variant may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 19 | Array(&Cow<'a, Array<'a>>), [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 19 | Array(Box>>), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `Vec>: Clone` [INFO] [stdout] --> src/update.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Update<'a>(Object<'a>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `ToOwned` for `Vec>` [INFO] [stdout] note: required because it appears within the type `Bson<'a>` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Bson<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mongops` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "5c7fe9012d7088a6db1ca39a48149399af16df83b47f1d14e03844908013fa58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7fe9012d7088a6db1ca39a48149399af16df83b47f1d14e03844908013fa58", kill_on_drop: false }` [INFO] [stdout] 5c7fe9012d7088a6db1ca39a48149399af16df83b47f1d14e03844908013fa58