[INFO] cloning repository https://github.com/overengineering/roulette [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overengineering/roulette" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Froulette", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Froulette'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc099dec1f09515b836ccf99bbd0ee181f0ad64f [INFO] checking overengineering/roulette against master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverengineering%2Froulette" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overengineering/roulette on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overengineering/roulette [INFO] finished tweaking git repo https://github.com/overengineering/roulette [INFO] tweaked toml for git repo https://github.com/overengineering/roulette written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/overengineering/roulette 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" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4657493d17b1ac60549f220a9d98059e08a3d4ee7b4a4baa3a56897483f371e [INFO] running `Command { std: "docker" "start" "-a" "f4657493d17b1ac60549f220a9d98059e08a3d4ee7b4a4baa3a56897483f371e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4657493d17b1ac60549f220a9d98059e08a3d4ee7b4a4baa3a56897483f371e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4657493d17b1ac60549f220a9d98059e08a3d4ee7b4a4baa3a56897483f371e", kill_on_drop: false }` [INFO] [stdout] f4657493d17b1ac60549f220a9d98059e08a3d4ee7b4a4baa3a56897483f371e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f9730377a245e8455977f1c59da3992c23dd89d50a6917387160049f0cb86f [INFO] running `Command { std: "docker" "start" "-a" "e4f9730377a245e8455977f1c59da3992c23dd89d50a6917387160049f0cb86f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking itertools v0.6.1 [INFO] [stderr] Checking roulette v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `element`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/wheel.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 45 | .flat_map(|(element, properties)| { [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|property| (element, property)) [INFO] [stdout] | ---------- ^^^^^^^ move occurs because `element` has type `WheelElement`, which does not implement the `Copy` trait [INFO] [stdout] | | [INFO] [stdout] | captured by this `FnMut` closure [INFO] [stdout] | [INFO] [stdout] note: if `WheelElement` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/wheel.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WheelElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|property| (element, property)) [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/wheel.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .group_by(|&(_, property)| property) [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `property` has type `WheelElementProperty`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 54 - .group_by(|&(_, property)| property) [INFO] [stdout] 54 + .group_by(|(_, property)| property) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/wheel.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let aaaaaaa = all_element_property_pairs [INFO] [stdout] | ___________________^ [INFO] [stdout] 53 | | .into_iter() [INFO] [stdout] 54 | | .group_by(|&(_, property)| property) [INFO] [stdout] | |____________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 55 | .into_iter(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 56 | [INFO] [stdout] 57 | let elements_by_property: HashMap> = aaaaaaa [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 52 ~ let binding = all_element_property_pairs [INFO] [stdout] 53 + .into_iter() [INFO] [stdout] 54 + .group_by(|&(_, property)| property); [INFO] [stdout] 55 ~ let aaaaaaa = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `element`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/wheel.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 45 | .flat_map(|(element, properties)| { [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|property| (element, property)) [INFO] [stdout] | ---------- ^^^^^^^ move occurs because `element` has type `wheel::WheelElement`, which does not implement the `Copy` trait [INFO] [stdout] | | [INFO] [stdout] | captured by this `FnMut` closure [INFO] [stdout] | [INFO] [stdout] note: if `wheel::WheelElement` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/wheel.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum WheelElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|property| (element, property)) [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/wheel.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .group_by(|&(_, property)| property) [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `property` has type `wheel::WheelElementProperty`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 54 - .group_by(|&(_, property)| property) [INFO] [stdout] 54 + .group_by(|(_, property)| property) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/wheel.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let aaaaaaa = all_element_property_pairs [INFO] [stdout] | ___________________^ [INFO] [stdout] 53 | | .into_iter() [INFO] [stdout] 54 | | .group_by(|&(_, property)| property) [INFO] [stdout] | |____________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 55 | .into_iter(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 56 | [INFO] [stdout] 57 | let elements_by_property: HashMap> = aaaaaaa [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 52 ~ let binding = all_element_property_pairs [INFO] [stdout] 53 + .into_iter() [INFO] [stdout] 54 + .group_by(|&(_, property)| property); [INFO] [stdout] 55 ~ let aaaaaaa = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roulette` (bin "roulette") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `roulette` (bin "roulette" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e4f9730377a245e8455977f1c59da3992c23dd89d50a6917387160049f0cb86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f9730377a245e8455977f1c59da3992c23dd89d50a6917387160049f0cb86f", kill_on_drop: false }` [INFO] [stdout] e4f9730377a245e8455977f1c59da3992c23dd89d50a6917387160049f0cb86f