[INFO] cloning repository https://github.com/kylerchin/quick-release [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylerchin/quick-release" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2Fquick-release", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2Fquick-release'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14ee1c81f84e956ef34a41f30a236ff94702fcc9 [INFO] testing kylerchin/quick-release against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2Fquick-release" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kylerchin/quick-release [INFO] finished tweaking git repo https://github.com/kylerchin/quick-release [INFO] tweaked toml for git repo https://github.com/kylerchin/quick-release written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kylerchin/quick-release on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kylerchin/quick-release 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68e692fad4b7bdd32f8a6c0f494a6a4bce53061c42cc25923cbe765deb8f8e3 [INFO] running `Command { std: "docker" "start" "-a" "d68e692fad4b7bdd32f8a6c0f494a6a4bce53061c42cc25923cbe765deb8f8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68e692fad4b7bdd32f8a6c0f494a6a4bce53061c42cc25923cbe765deb8f8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68e692fad4b7bdd32f8a6c0f494a6a4bce53061c42cc25923cbe765deb8f8e3", kill_on_drop: false }` [INFO] [stdout] d68e692fad4b7bdd32f8a6c0f494a6a4bce53061c42cc25923cbe765deb8f8e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328521ca7ea92d25c7b9d2ec4241e9a9f20daf42e4abe9ae5510be632c759575 [INFO] running `Command { std: "docker" "start" "-a" "328521ca7ea92d25c7b9d2ec4241e9a9f20daf42e4abe9ae5510be632c759575", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling quick-release v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `io` and `process` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&str` [INFO] [stdout] --> src/main.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | let key = row.key.clone().split('-').collect::>(); [INFO] [stdout] | ------- ^^^^^^^^^^^ value of type `Vec` 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<&str>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `std::string::String`, found `&str` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `std::string::String` and `std::string::String: FromIterator<&str>` trivially holds [INFO] [stdout] | [INFO] [stdout] 24 - let key = row.key.clone().split('-').collect::>(); [INFO] [stdout] 24 + let key = row.key.clone().collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | level: key.len(), [INFO] [stdout] | ^^^^^^^^^ expected `u8`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .iter(|row: RawRow| { [INFO] [stdout] | __________^^^^_- [INFO] [stdout] 24 | | let key = row.key.clone().split('-').collect::>(); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | CleanedRow { [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________- unexpected argument of type `{closure@src/main.rs:23:15: 23:28}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/slice/mod.rs:1036:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 23 - .iter(|row: RawRow| { [INFO] [stdout] 24 - let key = row.key.clone().split('-').collect::>(); [INFO] [stdout] 25 - [INFO] [stdout] 26 - CleanedRow { [INFO] [stdout] 27 - level: key.len(), [INFO] [stdout] 28 - key: key, [INFO] [stdout] 29 - subsystem: row.subsystem.clone(), [INFO] [stdout] 30 - part_number: row.part_number.clone(), [INFO] [stdout] 31 - part_title: row.part_title.clone(), [INFO] [stdout] 32 - responsible_engineer: row.responsible_engineer.clone(), [INFO] [stdout] 33 - procurement_code: row.procurement_code.clone(), [INFO] [stdout] 34 - sub_component_code: row.sub_component_code.clone(), [INFO] [stdout] 35 - variant: row.variant.clone(), [INFO] [stdout] 36 - } [INFO] [stdout] 37 - }) [INFO] [stdout] 23 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&RawRow` [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&RawRow>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `CleanedRow`, found `&RawRow` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 4 | let mut rdr = csv::Reader::from_path("bill_of_materials.csv")?; [INFO] [stdout] | ------------------------------------------------ this expression has type `Reader` [INFO] [stdout] ... [INFO] [stdout] 15 | .deserialize::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` is `Result` here [INFO] [stdout] 16 | .filter(|x| x.is_ok()) [INFO] [stdout] | --------------------- `Iterator::Item` remains `Result` here [INFO] [stdout] 17 | .map(|x| x.unwrap()) [INFO] [stdout] | ------------------- `Iterator::Item` changed to `RawRow` here [INFO] [stdout] ... [INFO] [stdout] 23 | .iter(|row: RawRow| { [INFO] [stdout] | __________- [INFO] [stdout] 24 | | let key = row.key.clone().split('-').collect::>(); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | CleanedRow { [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] | |__________- `Iterator::Item` is `&RawRow` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quick-release` (bin "quick-release") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "328521ca7ea92d25c7b9d2ec4241e9a9f20daf42e4abe9ae5510be632c759575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328521ca7ea92d25c7b9d2ec4241e9a9f20daf42e4abe9ae5510be632c759575", kill_on_drop: false }` [INFO] [stdout] 328521ca7ea92d25c7b9d2ec4241e9a9f20daf42e4abe9ae5510be632c759575