[INFO] cloning repository https://github.com/Lopuzal/HarpGen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lopuzal/HarpGen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLopuzal%2FHarpGen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLopuzal%2FHarpGen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8579fe7c70dfa6321e53588f671417254f899cd7 [INFO] checking Lopuzal/HarpGen against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLopuzal%2FHarpGen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lopuzal/HarpGen on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lopuzal/HarpGen [INFO] finished tweaking git repo https://github.com/Lopuzal/HarpGen [INFO] tweaked toml for git repo https://github.com/Lopuzal/HarpGen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lopuzal/HarpGen 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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b81806196389c299d01e5f3b2af9ff31914d890cf6373be515401207fa00989 [INFO] running `Command { std: "docker" "start" "-a" "5b81806196389c299d01e5f3b2af9ff31914d890cf6373be515401207fa00989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b81806196389c299d01e5f3b2af9ff31914d890cf6373be515401207fa00989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b81806196389c299d01e5f3b2af9ff31914d890cf6373be515401207fa00989", kill_on_drop: false }` [INFO] [stdout] 5b81806196389c299d01e5f3b2af9ff31914d890cf6373be515401207fa00989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b9f92dddb2b2649252e800124eaa7c55bb78fbe195e01b662489928e2ce4403 [INFO] running `Command { std: "docker" "start" "-a" "8b9f92dddb2b2649252e800124eaa7c55bb78fbe195e01b662489928e2ce4403", kill_on_drop: false }` [INFO] [stderr] Checking HarpGen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: a value of type `Vec<&Playing>` cannot be built from an iterator over elements of type `&&Playing` [INFO] [stdout] --> src/main.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | ).collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^ value of type `Vec<&Playing>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&&Playing>` is not implemented for `Vec<&Playing>` [INFO] [stdout] but trait `FromIterator<&Playing>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Playing`, found `&Playing` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | ps.iter().filter( [INFO] [stdout] | _____________________--_^^^^^^_- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Iterator::Item` is `&&Playing` here [INFO] [stdout] | | this expression has type `Vec<&Playing>` [INFO] [stdout] 210 | | |p| [INFO] [stdout] 211 | | p.slide_in [INFO] [stdout] 212 | | ).collect::>() [INFO] [stdout] | |_____________________- `Iterator::Item` remains `&&Playing` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/cd420d8bda33494ba3cc45048d5f067484a32b94/library/core/src/iter/traits/iterator.rs:1972:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<&Playing>` cannot be built from an iterator over elements of type `&&Playing` [INFO] [stdout] --> src/main.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | ).collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^ value of type `Vec<&Playing>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&&Playing>` is not implemented for `Vec<&Playing>` [INFO] [stdout] but trait `FromIterator<&Playing>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Playing`, found `&Playing` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | ps.iter().filter( [INFO] [stdout] | _____________________--_^^^^^^_- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Iterator::Item` is `&&Playing` here [INFO] [stdout] | | this expression has type `Vec<&Playing>` [INFO] [stdout] 210 | | |p| [INFO] [stdout] 211 | | p.slide_in [INFO] [stdout] 212 | | ).collect::>() [INFO] [stdout] | |_____________________- `Iterator::Item` remains `&&Playing` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/cd420d8bda33494ba3cc45048d5f067484a32b94/library/core/src/iter/traits/iterator.rs:1972:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let _ = playings.iter().map( [INFO] [stdout] | ^^^ expected due to this [INFO] [stdout] 206 | |ps:Vec<&Playing>| [INFO] [stdout] | ------------------ found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected closure signature `fn(&Vec) -> _` [INFO] [stdout] found closure signature `fn(Vec<&Playing>) -> _` [INFO] [stdout] note: required by a bound in `map` [INFO] [stdout] --> /rustc/cd420d8bda33494ba3cc45048d5f067484a32b94/library/core/src/iter/traits/iterator.rs:745:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/main.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let _ = playings.iter().map( [INFO] [stdout] | ^^^ expected due to this [INFO] [stdout] 206 | |ps:Vec<&Playing>| [INFO] [stdout] | ------------------ found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected closure signature `fn(&Vec) -> _` [INFO] [stdout] found closure signature `fn(Vec<&Playing>) -> _` [INFO] [stdout] note: required by a bound in `map` [INFO] [stdout] --> /rustc/cd420d8bda33494ba3cc45048d5f067484a32b94/library/core/src/iter/traits/iterator.rs:745:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Map>, {closure@main.rs:206:9}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 205 | let _ = playings.iter().map( [INFO] [stdout] | _____________- [INFO] [stdout] 206 | | |ps:Vec<&Playing>| [INFO] [stdout] | | ------------------ doesn't satisfy `<_ as FnOnce<(&Vec,)>>::Output = _` or `_: FnMut<(&Vec,)>` [INFO] [stdout] 207 | | { [INFO] [stdout] 208 | | if ps.len() > 1 { [INFO] [stdout] ... | [INFO] [stdout] 216 | | ).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/main.rs:206:9: 206:27} as FnOnce<(&Vec,)>>::Output = _` [INFO] [stdout] which is required by `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] `{closure@src/main.rs:206:9: 206:27}: FnMut<(&Vec,)>` [INFO] [stdout] which is required by `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] which is required by `&mut Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Map>, {closure@main.rs:206:9}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 205 | let _ = playings.iter().map( [INFO] [stdout] | _____________- [INFO] [stdout] 206 | | |ps:Vec<&Playing>| [INFO] [stdout] | | ------------------ doesn't satisfy `<_ as FnOnce<(&Vec,)>>::Output = _` or `_: FnMut<(&Vec,)>` [INFO] [stdout] 207 | | { [INFO] [stdout] 208 | | if ps.len() > 1 { [INFO] [stdout] ... | [INFO] [stdout] 216 | | ).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/main.rs:206:9: 206:27} as FnOnce<(&Vec,)>>::Output = _` [INFO] [stdout] which is required by `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] `{closure@src/main.rs:206:9: 206:27}: FnMut<(&Vec,)>` [INFO] [stdout] which is required by `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] `Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] which is required by `&mut Map>, {closure@src/main.rs:206:9: 206:27}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `HarpGen` (bin "HarpGen") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `HarpGen` (bin "HarpGen" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8b9f92dddb2b2649252e800124eaa7c55bb78fbe195e01b662489928e2ce4403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9f92dddb2b2649252e800124eaa7c55bb78fbe195e01b662489928e2ce4403", kill_on_drop: false }` [INFO] [stdout] 8b9f92dddb2b2649252e800124eaa7c55bb78fbe195e01b662489928e2ce4403