[INFO] cloning repository https://github.com/stellar-bit/core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stellar-bit/core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstellar-bit%2Fcore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstellar-bit%2Fcore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2632da6c3de34dcf237a4839e08f86fdfabe1888 [INFO] checking stellar-bit/core against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstellar-bit%2Fcore" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stellar-bit/core [INFO] finished tweaking git repo https://github.com/stellar-bit/core [INFO] tweaked toml for git repo https://github.com/stellar-bit/core written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stellar-bit/core on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stellar-bit/core 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.rust [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d361d11854ec486ed7543db504b848a9aa38add3f82679ce4430dd070cb5c266 [INFO] running `Command { std: "docker" "start" "-a" "d361d11854ec486ed7543db504b848a9aa38add3f82679ce4430dd070cb5c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d361d11854ec486ed7543db504b848a9aa38add3f82679ce4430dd070cb5c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d361d11854ec486ed7543db504b848a9aa38add3f82679ce4430dd070cb5c266", kill_on_drop: false }` [INFO] [stdout] d361d11854ec486ed7543db504b848a9aa38add3f82679ce4430dd070cb5c266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f90b9a87f913a7a1fbfb90aeb87f7df9acac5588db837c293b32c20c429639 [INFO] running `Command { std: "docker" "start" "-a" "71f90b9a87f913a7a1fbfb90aeb87f7df9acac5588db837c293b32c20c429639", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.rust [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking glam v0.23.0 [INFO] [stderr] Checking stellar-bit-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `hash_extract_if` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(hash_extract_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `hash_extract_if` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(hash_extract_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/game/spacecraft.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0.) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x: /* Type */| x.health() <= 0.) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/game/spacecraft.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0.) [INFO] [stdout] | ^^^^^^^^^^------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0., /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/game/spacecraft.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | ^^^^^^^^^^-------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id), /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/game/spacecraft.rs:151:25: 151:32}: RangeBounds` is not satisfied [INFO] [stdout] --> src/game/spacecraft.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/game/spacecraft.rs:151:25: 151:32}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::collections::BTreeMap::::extract_if` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `ExtractIf<'_, u16, Component, {closure@spacecraft.rs:151:25}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/game/spacecraft.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 149 | let _ = self [INFO] [stdout] | _________________- [INFO] [stdout] 150 | | .components [INFO] [stdout] 151 | | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | | ------- doesn't satisfy `_: RangeBounds` [INFO] [stdout] 152 | | .collect::>(); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{closure@src/game/spacecraft.rs:151:25: 151:32}: RangeBounds` [INFO] [stdout] which is required by `std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] `std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] which is required by `&mut std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/stellar_bit_core-a1f9d4fef4f5905c.long-type-12822547075255620337.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/game/spacecraft.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0.) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x: /* Type */| x.health() <= 0.) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/game/spacecraft.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0.) [INFO] [stdout] | ^^^^^^^^^^------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 107 | .extract_if(|_, x| x.health() <= 0., /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/game/spacecraft.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | ^^^^^^^^^^-------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id), /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/game/spacecraft.rs:151:25: 151:32}: RangeBounds` is not satisfied [INFO] [stdout] --> src/game/spacecraft.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/game/spacecraft.rs:151:25: 151:32}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::collections::BTreeMap::::extract_if` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/alloc/src/collections/btree/map.rs:1440:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `ExtractIf<'_, u16, Component, {closure@spacecraft.rs:151:25}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/game/spacecraft.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 149 | let _ = self [INFO] [stdout] | _________________- [INFO] [stdout] 150 | | .components [INFO] [stdout] 151 | | .extract_if(|id, _| !survives.contains(id)) [INFO] [stdout] | | ------- doesn't satisfy `_: RangeBounds` [INFO] [stdout] 152 | | .collect::>(); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{closure@src/game/spacecraft.rs:151:25: 151:32}: RangeBounds` [INFO] [stdout] which is required by `std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] `std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] which is required by `&mut std::collections::btree_map::ExtractIf<'_, u16, component::Component, {closure@src/game/spacecraft.rs:151:25: 151:32}, _>: Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/stellar_bit_core-925cf9fd605dba10.long-type-9508328571822814141.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stellar-bit-core` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stellar-bit-core` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "71f90b9a87f913a7a1fbfb90aeb87f7df9acac5588db837c293b32c20c429639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f90b9a87f913a7a1fbfb90aeb87f7df9acac5588db837c293b32c20c429639", kill_on_drop: false }` [INFO] [stdout] 71f90b9a87f913a7a1fbfb90aeb87f7df9acac5588db837c293b32c20c429639