[INFO] fetching crate dyadic-rationals 0.1.2... [INFO] testing dyadic-rationals-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dyadic-rationals 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate dyadic-rationals 0.1.2 [INFO] finished tweaking crates.io crate dyadic-rationals 0.1.2 [INFO] tweaked toml for crates.io crate dyadic-rationals 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dyadic-rationals 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dyadic-rationals 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arbtest v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d155fc5f0fe0c9213b3b2d3f1abe0165cd5e5af201b2574245360b800807e93d [INFO] running `Command { std: "docker" "start" "-a" "d155fc5f0fe0c9213b3b2d3f1abe0165cd5e5af201b2574245360b800807e93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d155fc5f0fe0c9213b3b2d3f1abe0165cd5e5af201b2574245360b800807e93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d155fc5f0fe0c9213b3b2d3f1abe0165cd5e5af201b2574245360b800807e93d", kill_on_drop: false }` [INFO] [stdout] d155fc5f0fe0c9213b3b2d3f1abe0165cd5e5af201b2574245360b800807e93d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7fc8d37de2753bc9a48ef39eb3835b7c516f0018afde81d5774680fc0af742 [INFO] running `Command { std: "docker" "start" "-a" "be7fc8d37de2753bc9a48ef39eb3835b7c516f0018afde81d5774680fc0af742", kill_on_drop: false }` [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling dyadic-rationals v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `impl Fn(&V) -> bool: RangeBounds` is not satisfied [INFO] [stdout] --> src/context.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | self.0.extract_if(f).collect() [INFO] [stdout] | ---------- ^ the trait `RangeBounds` is not implemented for `impl Fn(&V) -> bool` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::extract_if` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/collections/btree/set.rs:1223:5 [INFO] [stdout] help: consider restricting opaque type `impl Fn(&V) -> bool` with trait `RangeBounds` [INFO] [stdout] | [INFO] [stdout] 431 | pub fn extract_if(&mut self, f: impl Fn(&V) -> bool + std::ops::RangeBounds) -> Set [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/context.rs:435:16 [INFO] [stdout] | [INFO] [stdout] 435 | self.0.extract_if(f).collect() [INFO] [stdout] | ^^^^^^^^^^--- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/collections/btree/set.rs:1223:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 435 | self.0.extract_if(f, /* pred */).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `std::collections::btree_set::ExtractIf<'_, V, impl Fn(&V) -> bool, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/context.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | self.0.extract_if(f).collect() [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Fn(&V) -> bool: RangeBounds` [INFO] [stdout] which is required by `std::collections::btree_set::ExtractIf<'_, V, impl Fn(&V) -> bool, _>: Iterator` [INFO] [stdout] `std::collections::btree_set::ExtractIf<'_, V, impl Fn(&V) -> bool, _>: Iterator` [INFO] [stdout] which is required by `&mut std::collections::btree_set::ExtractIf<'_, V, impl Fn(&V) -> bool, _>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dyadic-rationals` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "be7fc8d37de2753bc9a48ef39eb3835b7c516f0018afde81d5774680fc0af742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7fc8d37de2753bc9a48ef39eb3835b7c516f0018afde81d5774680fc0af742", kill_on_drop: false }` [INFO] [stdout] be7fc8d37de2753bc9a48ef39eb3835b7c516f0018afde81d5774680fc0af742