[INFO] crate libimagref 0.3.0 is already in cache [INFO] extracting crate libimagref 0.3.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/libimagref/0.3.0 [INFO] extracting crate libimagref 0.3.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/libimagref/0.3.0 [INFO] validating manifest of libimagref-0.3.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of libimagref-0.3.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing libimagref-0.3.0 [INFO] finished frobbing libimagref-0.3.0 [INFO] frobbed toml for libimagref-0.3.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/libimagref/0.3.0/Cargo.toml [INFO] started frobbing libimagref-0.3.0 [INFO] finished frobbing libimagref-0.3.0 [INFO] frobbed toml for libimagref-0.3.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/libimagref/0.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking libimagref-0.3.0 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/libimagref/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c447c216874422f222c3f458fbf6201d1310cfcee25d47c8b66863c9435defef [INFO] running `"docker" "start" "-a" "c447c216874422f222c3f458fbf6201d1310cfcee25d47c8b66863c9435defef"` [INFO] [stderr] Checking version v2.0.1 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking libimagerror v0.3.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking libimagutil v0.3.0 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking semver v0.5.1 [INFO] [stderr] Checking libimagstore v0.3.0 [INFO] [stderr] Checking libimagentrylist v0.3.0 [INFO] [stderr] Checking libimagref v0.3.0 (/opt/crater/workdir) [INFO] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> src/reference.rs:531:22 [INFO] [stderr] | [INFO] [stderr] 531 | .flatten() [INFO] [stderr] | ^^^^^^^ multiple `flatten` found [INFO] [stderr] | [INFO] [stderr] = note: candidate #1 is defined in an impl of the trait `std::iter::Iterator` for the type `std::iter::Map<_, _>` [INFO] [stderr] = help: to disambiguate the method call, write `std::iter::Iterator::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] = note: candidate #2 is defined in an impl of the trait `itertools::Itertools` for the type `_` [INFO] [stderr] = help: to disambiguate the method call, write `itertools::Itertools::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] [INFO] [stderr] error: unused import: `itertools::Itertools` [INFO] [stderr] --> src/reference.rs:493:13 [INFO] [stderr] | [INFO] [stderr] 493 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | unused_imports, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0034`. [INFO] [stderr] error: Could not compile `libimagref`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> src/reference.rs:531:22 [INFO] [stderr] | [INFO] [stderr] 531 | .flatten() [INFO] [stderr] | ^^^^^^^ multiple `flatten` found [INFO] [stderr] | [INFO] [stderr] = note: candidate #1 is defined in an impl of the trait `std::iter::Iterator` for the type `std::iter::Map<_, _>` [INFO] [stderr] = help: to disambiguate the method call, write `std::iter::Iterator::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] = note: candidate #2 is defined in an impl of the trait `itertools::Itertools` for the type `_` [INFO] [stderr] = help: to disambiguate the method call, write `itertools::Itertools::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] [INFO] [stderr] error: unused import: `itertools::Itertools` [INFO] [stderr] --> src/reference.rs:493:13 [INFO] [stderr] | [INFO] [stderr] 493 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | unused_imports, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0034`. [INFO] [stderr] error: Could not compile `libimagref`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c447c216874422f222c3f458fbf6201d1310cfcee25d47c8b66863c9435defef"` [INFO] running `"docker" "rm" "-f" "c447c216874422f222c3f458fbf6201d1310cfcee25d47c8b66863c9435defef"` [INFO] [stdout] c447c216874422f222c3f458fbf6201d1310cfcee25d47c8b66863c9435defef